package com.example.siyun.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;
/**
 * @Auther: 全
 * @Date: 2022/10/2 19:54
 * @Description: 权限日志表
 */
public class MicroAudit {
        private int id;
        private int aid;
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        /* 审核时间 */
        private Timestamp audittime;
    /* 审核人 */
        private String auditors;
    /* 审核结果 */
        private String auditresults;
    /* 反馈详情 */
        private String feedbackdetails;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getAid() {
            return aid;
        }

        public void setAid(int aid) {
            this.aid = aid;
        }

        public Timestamp getAudittime() {
            return audittime;
        }

        public void setAudittime(Timestamp audittime) {
            this.audittime = audittime;
        }

        public String getAuditors() {
            return auditors;
        }

        public void setAuditors(String auditors) {
            this.auditors = auditors;
        }

        public String getAuditresults() {
            return auditresults;
        }

        public void setAuditresults(String auditresults) {
            this.auditresults = auditresults;
        }

        public String getFeedbackdetails() {
            return feedbackdetails;
        }

        public void setFeedbackdetails(String feedbackdetails) {
            this.feedbackdetails = feedbackdetails;
        }

        @Override
        public String toString() {
            return "Audit{" +
                    "id=" + id +
                    ", aid=" + aid +
                    ", audittime=" + audittime +
                    ", auditors='" + auditors + '\'' +
                    ", auditresults='" + auditresults + '\'' +
                    ", feedbackdetails='" + feedbackdetails + '\'' +
                    '}';
        }
    }

